// Lindsay Gilmour
// Adam Lusch
// Dan Niceswanger
//
// Computer Graphics Project 2:
// Teapot racing!

#ifndef GHOSTPOT_H
#define GHOSTPOT_H

#include "Teapot.h"
#include <deque>
#include <vector>

class Ghostpot: public Teapot
{
	public:
		Ghostpot(b2World*, GLdouble, GLdouble, GLdouble, string);
		~Ghostpot();
		
		void update();
		
		void openGhost(string);
		
		double getTotal();
		vector <double> getLaps();
		
	private:
		void addData(GLdouble);
		void clearData();
		
		deque <float32> ghostPlay;
		
		double totalTime;
		vector <double> lapTimes;
		
};

#endif
